package com.baizhi.cmfz;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
//扫描dao包生成代理对象
@MapperScan("com.baizhi.cmfz.dao")//扫描加载 dao包 生成代理对象
@EnableTransactionManagement//加载 扫描@transactionManageement注解
public class CmfzdemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(CmfzdemoApplication.class, args);
    }

}
